-- GENERATED SPELL FOR [Station Sharpshooter] --


function spell0_21441(pUnit, Event) --@Shoot Tech Gun,n/a--
pUnit:FullCastSpellOnTarget(36246,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21441', 646, 1)
end

function Sorts_21441(pUnit, Event)
local choix_sorts_21441 = math.random(0, 0)
if choix_sorts_21441 == 0 then
pUnit:RegisterEvent('spell0_21441', 1, 1)
end
end

function mob21441_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21441', math.random(1500, 3000), 1)
end

function mob21441_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21441_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21441_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21441, 1, 'mob21441_Action')
RegisterUnitEvent(21441, 2, 'mob21441_Leave')
RegisterUnitEvent(21441, 3, 'mob21441_Kill')
RegisterUnitEvent(21441, 4, 'mob21441_Die')
